package com.aidex.common.core.domain.entity;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 公司信息对象 biz_company
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-03-04
 */
@Data
public class Company extends BaseEntity<Company> {
    private static final long serialVersionUID = 1L;


    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String companyName;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String lianxiUser;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String lianxiPhone;

    /**
     * 联系地址
     */
    @Excel(name = "联系地址")
    private String lianxiAddress;

    /**
     * 有效时间
     */
    @Excel(name = "有效时间")
    private String youxiaoshij;

    /**
     * 阿里云k
     */
    private String aliyunKey;

    /**
     * 密钥
     */
    private String aliyunAccesssecret;

    /**
     * 短信签名
     */
    private String smsSignname;

    /**
     * 短信通知
     */
    @Excel(name = "短信通知", dictType = "is_active")
    private String smsIsopen;

    /**
     * OSS文件存储
     */
    @Excel(name = "OSS文件存储", dictType = "is_active")
    private String ossIsopen;

    /**
     * OSS地域名称
     */
    private String endpoint;

    /**
     * 节点名称
     */
    private String bucketName;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;


    private String content;

    private String image;

    /**
     * 余额
     */
    private BigDecimal balance;

    private BigDecimal rechangeMoney;

    public BigDecimal getRechangeMoney() {
        return rechangeMoney;
    }

    public void setRechangeMoney(BigDecimal rechangeMoney) {
        this.rechangeMoney = rechangeMoney;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setLianxiUser(String lianxiUser) {
        this.lianxiUser = lianxiUser;
    }

    public String getLianxiUser() {
        return lianxiUser;
    }

    public void setLianxiPhone(String lianxiPhone) {
        this.lianxiPhone = lianxiPhone;
    }

    public String getLianxiPhone() {
        return lianxiPhone;
    }

    public void setLianxiAddress(String lianxiAddress) {
        this.lianxiAddress = lianxiAddress;
    }

    public String getLianxiAddress() {
        return lianxiAddress;
    }

    public void setYouxiaoshij(String youxiaoshij) {
        this.youxiaoshij = youxiaoshij;
    }

    public String getYouxiaoshij() {
        return youxiaoshij;
    }

    public void setAliyunKey(String aliyunKey) {
        this.aliyunKey = aliyunKey;
    }

    public String getAliyunKey() {
        return aliyunKey;
    }

    public void setAliyunAccesssecret(String aliyunAccesssecret) {
        this.aliyunAccesssecret = aliyunAccesssecret;
    }

    public String getAliyunAccesssecret() {
        return aliyunAccesssecret;
    }

    public void setSmsSignname(String smsSignname) {
        this.smsSignname = smsSignname;
    }

    public String getSmsSignname() {
        return smsSignname;
    }

    public void setSmsIsopen(String smsIsopen) {
        this.smsIsopen = smsIsopen;
    }

    public String getSmsIsopen() {
        return smsIsopen;
    }

    public void setOssIsopen(String ossIsopen) {
        this.ossIsopen = ossIsopen;
    }

    public String getOssIsopen() {
        return ossIsopen;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append(
                        "companyName", getCompanyName()).append("lianxiUser", getLianxiUser()).append("lianxiPhone",
                getLianxiPhone()).append("lianxiAddress", getLianxiAddress()).append("youxiaoshij", getYouxiaoshij()).append("aliyunKey", getAliyunKey()).append("aliyunAccesssecret", getAliyunAccesssecret()).append("smsSignname", getSmsSignname()).append("smsIsopen", getSmsIsopen()).append("ossIsopen", getOssIsopen()).append("endpoint", getEndpoint()).append("bucketName", getBucketName()).append("sort", getSort()).append("status", getStatus()).append("remark", getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept", getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version", getVersion()).append("delFlag", getDelFlag()).toString();
    }

}
